//
//  CZWeather.m
//  i0S007通用项目
//
//  Created by Apple on 16/2/21.
//  Copyright © 2016年 Apple. All rights reserved.
//

#import "CZWeather.h"

@implementation CZWeather

+ (instancetype)weatherWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}

- (instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        // 使用KVC赋值
        [self setValuesForKeysWithDictionary:dict];
    }
    
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {};

@end
